Skip to content

Revise last updated date and add access instructions#587

Merged
priyanshu6238 merged 4 commits intomainfrom
Link-the-Google-Sheets.md
Apr 2, 2026
Merged

Revise last updated date and add access instructions#587
priyanshu6238 merged 4 commits intomainfrom
Link-the-Google-Sheets.md

Conversation

@SangeetaMishr
Copy link
Copy Markdown
Collaborator

@SangeetaMishr SangeetaMishr commented Mar 25, 2026

Updated last updated date and added section on Google Sheet access via Service Account.

Summary by CodeRabbit

  • Documentation
    • Updated Google Sheets linking docs and "Last Updated" metadata to April 2026.
    • Replaced generic "anyone with the link" guidance with steps to share sheets with the service account email (Viewer or Editor), while keeping an alternative link-based sharing option.
    • Added a new "Google Sheet Access via Service Account" section with a new illustrative image, removed the prior screenshot, and renumbered writable-setup steps.

Updated last updated date and added section on Google Sheet access via Service Account.
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Mar 25, 2026

📝 Walkthrough

Walkthrough

Updated the Google Sheets linking documentation: changed "Last Updated" to April 2026, replaced link-based "Anyone with the link" sharing guidance with service-account-based sharing (or optional link-based alternative), renumbered writable-setup steps, removed an outdated screenshot, and added a new "Google Sheet Access via Service Account" section with image.

Changes

Cohort / File(s) Summary
Documentation - Google Sheets Linking
docs/4. Product Features/03. Flows/2. Flow Actions/12. Link Google Sheets.md
Updated "Last Updated" to April 2026. Replaced generic "Anyone with the link" sharing guidance with instructions to share the sheet with the service account email (grant Viewer or Editor) while keeping link-based sharing as an alternative. Renumbered steps in the writable setup, removed an outdated screenshot, and added a new "Google Sheet Access via Service Account" section with a new illustrative image.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Poem

🐇 I hopped into docs at the break of day,

Shared a sheet by email, not the open-way.
Viewer or Editor, tidy and neat,
Screens refreshed, steps now in seat.
A carrot-sized cheer for access made safe!

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately reflects the main changes in the PR, which includes updating the last updated date and adding service account access instructions.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch Link-the-Google-Sheets.md

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 25, 2026

@github-actions github-actions bot temporarily deployed to pull request March 25, 2026 16:36 Inactive
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@docs/4`. Product Features/03. Flows/2. Flow Actions/12. Link Google
Sheets.md:
- Around line 385-397: Make the Google Sheets access guidance consistently
recommend using the Google Service Account flow (the "Google Sheet Access via
Service Account" section) as the primary and preferred method, and change any
earlier instructions that instruct users to set "Anyone with the link"/"Anyone
can read" sharing to instead mark that link-sharing as discouraged/deprecated
and only for non-PII test data; update the earlier section that mentions "Anyone
with the link" to explicitly warn about data exposure, point readers to the
service-account sharing steps (referencing the "Google Sheet Access via Service
Account" heading), and remove or rephrase any step that instructs granting link
access as a normal configuration.
- Around line 387-397: Rewrite the paragraph into clear numbered steps and fix
typos: replace "To ensure sensitive beneficiary data (PII) is protected,avoid
linking Google Sheets..." with a full sentence and space after the comma; change
"will be access" to "will be accessed"; remove the stray "Link Sheet in Glific"
line and fold that action into the step list; produce 3–4 numbered steps that
instruct the user to open the Google Sheet, click Share and paste the service
account email (from the JSON key) with Viewer or Editor permission, and note
that the sheet will be accessed via the Glific service account respecting those
permissions.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: fb364868-539e-4553-b56d-585a4dddbf50

📥 Commits

Reviewing files that changed from the base of the PR and between 68c479a and aab54b3.

📒 Files selected for processing (1)
  • docs/4. Product Features/03. Flows/2. Flow Actions/12. Link Google Sheets.md

@priyanshu6238
Copy link
Copy Markdown
Contributor

Screenshot 2026-03-31 at 8 02 57 AM

can you also change the 5 line

Copy link
Copy Markdown
Contributor

@priyanshu6238 priyanshu6238 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Apart from that one minor comment, please merge it once it’s resolved.

Updated instructions for linking Google Sheets to clarify permissions and steps for sharing with service accounts.
@github-actions github-actions bot temporarily deployed to pull request April 1, 2026 14:54 Inactive
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

♻️ Duplicate comments (1)
docs/4. Product Features/03. Flows/2. Flow Actions/12. Link Google Sheets.md (1)

384-395: ⚠️ Potential issue | 🟡 Minor

Please normalize this new section into clean numbered steps and fix grammar.

This block still has the same wording/format issues (protected,avoid, 1.Open, will be access, and standalone “Link Sheet in Glific”). It should be rewritten for clarity and consistency.

✍️ Suggested rewrite
 ### Google Sheet Access via Service Account
 
-To ensure sensitive beneficiary data (PII) is protected,avoid linking Google Sheets in Anyone can read or Anyone can read/write modes. 
+To protect sensitive beneficiary data (PII), avoid linking Google Sheets using **Anyone with the link** access (read or read/write).
 
 Instead, configure access via the Google Service Account linked to your Glific instance.
 
-1.Open the Google Sheet you want to link.
-
-2. Click Share → Paste the service account email (from the JSON key) and set the permission to either Viewer (read-only) or Editor (read/write).
-3. Link Sheet in Glific
-4. Now the sheet will be access via the service account, respecting the permissions set.
+1. Open the Google Sheet you want to link.
+2. Click **Share**, paste the service account email (from the JSON key), and grant:
+   - **Viewer** for read-only access, or
+   - **Editor** for read/write access.
+3. Link the sheet in Glific.
+4. The sheet will now be accessed via the service account, respecting the granted permissions.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/4`. Product Features/03. Flows/2. Flow Actions/12. Link Google Sheets.md
around lines 384 - 395, Rewrite the "Google Sheet Access via Service Account"
section into clean numbered steps with correct grammar and punctuation: merge
the opening sentence to "To ensure sensitive beneficiary data (PII) is
protected, avoid linking Google Sheets in 'Anyone can read' or 'Anyone can
read/write' modes; instead, grant access to the Google Service Account
associated with your Glific instance." Then produce four clear steps: 1) Open
the Google Sheet, 2) Click Share and paste the service account email from the
JSON key, setting Viewer or Editor as needed, 3) Link the sheet in Glific, and
4) Confirm the sheet is accessed via the service account which will respect the
set permissions. Replace broken fragments like "protected,avoid", "1.Open",
"will be access", and the standalone "Link Sheet in Glific" with the corrected
phrasing above.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@docs/4`. Product Features/03. Flows/2. Flow Actions/12. Link Google
Sheets.md:
- Line 45: Update the step that reads "Open the Google sheet and click on share
button on the right hand side to update the sheet permission with the service
account email (from the JSON key) and set the permission to either Viewer
(read-only) or Editor (read/write)." to use "right-hand side" and streamline
wording; e.g., "Open the Google sheet, click the Share button on the right-hand
side, add the service account email from the JSON key, and set its role to
Viewer (read-only) or Editor (read/write)." Target the sentence in step 5.

---

Duplicate comments:
In `@docs/4`. Product Features/03. Flows/2. Flow Actions/12. Link Google
Sheets.md:
- Around line 384-395: Rewrite the "Google Sheet Access via Service Account"
section into clean numbered steps with correct grammar and punctuation: merge
the opening sentence to "To ensure sensitive beneficiary data (PII) is
protected, avoid linking Google Sheets in 'Anyone can read' or 'Anyone can
read/write' modes; instead, grant access to the Google Service Account
associated with your Glific instance." Then produce four clear steps: 1) Open
the Google Sheet, 2) Click Share and paste the service account email from the
JSON key, setting Viewer or Editor as needed, 3) Link the sheet in Glific, and
4) Confirm the sheet is accessed via the service account which will respect the
set permissions. Replace broken fragments like "protected,avoid", "1.Open",
"will be access", and the standalone "Link Sheet in Glific" with the corrected
phrasing above.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 11a0dc52-c22a-4cba-adf6-0e1678ed30b8

📥 Commits

Reviewing files that changed from the base of the PR and between aab54b3 and 7cdbfac.

📒 Files selected for processing (1)
  • docs/4. Product Features/03. Flows/2. Flow Actions/12. Link Google Sheets.md

Updated instructions for sharing Google Sheets with service account email and added an alternative permission option.
@github-actions github-actions bot temporarily deployed to pull request April 2, 2026 11:40 Inactive
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

♻️ Duplicate comments (2)
docs/4. Product Features/03. Flows/2. Flow Actions/12. Link Google Sheets.md (2)

388-397: ⚠️ Potential issue | 🟡 Minor

Fix grammar and step formatting in the service-account section.

There are readability regressions: “protected,avoid”, “1.Open”, “will be access”, and an ungrammatical step title.

✍️ Suggested rewrite
-To ensure sensitive beneficiary data (PII) is protected,avoid linking Google Sheets in Anyone can read or Anyone can read/write modes. 
+To protect sensitive beneficiary data (PII), avoid linking Google Sheets using “Anyone can read” or “Anyone can read/write” modes.
@@
-1.Open the Google Sheet you want to link.
+1. Open the Google Sheet you want to link.
@@
-3. Link Sheet in Glific
-4. Now the sheet will be access via the service account, respecting the permissions set.
+3. Link the sheet in Glific.
+4. The sheet will now be accessed via the service account, respecting the permissions set.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/4`. Product Features/03. Flows/2. Flow Actions/12. Link Google Sheets.md
around lines 388 - 397, Fix grammar and formatting in the service-account steps:
add a space in “protected,avoid” → “protected, avoid”; change numbered step
punctuation “1.Open” → “1. Open”; correct verb tense “will be access” → “will be
accessed”; make step titles consistent and grammatical (e.g., “Share the sheet
with the service account” for the Share step, and “Link sheet in Glific” → “Link
the sheet in Glific.”); ensure each step is a separate line with terminal
punctuation and consistent capitalization.

47-47: ⚠️ Potential issue | 🟠 Major

Conflicting access guidance still allows insecure sheet exposure.

Line 47 reintroduces link-public sharing while Lines 388-390 instruct avoiding that mode for PII. Keep service-account sharing as the default path, and clearly mark link-sharing as deprecated/non-PII-only to avoid accidental overexposure.

✍️ Suggested doc fix
-Alternatively, if you prefer not to add the service account email, you can change the sheet persmission to “Anyone with the link can view.”
+⚠️ Avoid “Anyone with the link” for production or PII data.
+Use service-account sharing as the recommended setup.
+If you must use link-sharing, restrict it to non-sensitive test data only.

Also applies to: 386-390

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/4`. Product Features/03. Flows/2. Flow Actions/12. Link Google Sheets.md
at line 47, The doc currently contradicts itself by suggesting “Anyone with the
link can view” as an alternative; change the guidance in the "Link Google
Sheets" section to make service-account sharing the default and remove or reword
the link-public recommendation to be explicitly deprecated and only for
non-PII/test data. Update the sentence that currently reads “Anyone with the
link can view” to instead warn that link-sharing is insecure, label it as
deprecated/non-PII-only, and add a cross-reference to the service-account setup
steps; apply the same edit to the duplicate guidance around the later lines that
currently discuss link-sharing (the block that references avoiding link-public
for PII).
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Duplicate comments:
In `@docs/4`. Product Features/03. Flows/2. Flow Actions/12. Link Google
Sheets.md:
- Around line 388-397: Fix grammar and formatting in the service-account steps:
add a space in “protected,avoid” → “protected, avoid”; change numbered step
punctuation “1.Open” → “1. Open”; correct verb tense “will be access” → “will be
accessed”; make step titles consistent and grammatical (e.g., “Share the sheet
with the service account” for the Share step, and “Link sheet in Glific” → “Link
the sheet in Glific.”); ensure each step is a separate line with terminal
punctuation and consistent capitalization.
- Line 47: The doc currently contradicts itself by suggesting “Anyone with the
link can view” as an alternative; change the guidance in the "Link Google
Sheets" section to make service-account sharing the default and remove or reword
the link-public recommendation to be explicitly deprecated and only for
non-PII/test data. Update the sentence that currently reads “Anyone with the
link can view” to instead warn that link-sharing is insecure, label it as
deprecated/non-PII-only, and add a cross-reference to the service-account setup
steps; apply the same edit to the duplicate guidance around the later lines that
currently discuss link-sharing (the block that references avoiding link-public
for PII).

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 6ccfdfa1-1d1b-436e-b73b-903550012322

📥 Commits

Reviewing files that changed from the base of the PR and between 7cdbfac and a0fddf5.

📒 Files selected for processing (1)
  • docs/4. Product Features/03. Flows/2. Flow Actions/12. Link Google Sheets.md

Copy link
Copy Markdown
Contributor

@priyanshu6238 priyanshu6238 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@priyanshu6238 priyanshu6238 merged commit 4febf27 into main Apr 2, 2026
7 checks passed
@priyanshu6238 priyanshu6238 deleted the Link-the-Google-Sheets.md branch April 2, 2026 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Read from Google Sheet: remove anyone with read access

2 participants